import React from 'react'
import Tabs from 'react-simpletabs'
import { bindActionCreators } from 'redux';
import * as UserActions  from '../actions/UserActions';
import { connect }  from 'react-redux';
import SysRoleBody from './sysrole/SysRoleBody'
import PropertySettingBody from './property/PropertySettingBody'

class SysSettingBody extends React.Component {
  constructor(props) {
    super(props);
  }

  componentDidMount() {

  }

  render() {
      return (
        <div className="content-body" >
          <Tabs>
            <Tabs.Panel title='角色管理'>
              <SysRoleBody />

            </Tabs.Panel>
            <Tabs.Panel title='物业管理'>
              <PropertySettingBody />
            </Tabs.Panel>
          </Tabs>
        </div>
      );
  }
}

const mapStateToProps = (state, ownProps) => {
  return {}
}

export default connect(mapStateToProps)(SysSettingBody)
